<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="include :: header"></head>

<style>
.th{
background-color:#f2f2f2;
}
</style>

<body>
	<div class="layui-fluid">
		<div class="layui-row layui-col-space15">
			<div class="layui-col-md12">
				<div class="layui-card">
					<div class="layui-card-body">
						<table class="layui-table">
							<colgroup>
								<col width="70">
								<col width="170">
								<col width="70">
								<col  width="180">
							</colgroup>
							<tbody>
								<tr>
									<td align="right" class="th">订单号</th>
									<td th:text="${order.orderId}"></td>
									<td align="right" class="th">下单时间</td>
									<td th:text="${order.orderTime}==null?'&nbsp;':${#dates.format(order.orderTime,'yyyy-MM-dd HH:mm:ss')}"></td>
								</tr>
								<tr>
									<td align="right" class="th">开卡类型</th>
									<td th:text="${order.extMap.cardType_dict}"></td>
									<td align="right" class="th">金额(元)</td>
									<td th:text="${#numbers.formatDecimal(order.orderAmount, 1, 0)}"></td>
								</tr>
								<tr>
									<td align="right" class="th">姓名</th>
									<td th:text="${order.username}"></td>
									<td align="right" class="th">手机</td>
									<td th:text="${order.mobile}"></td>
								</tr>
								<tr>
									<td align="right" class="th">小区名称</th>
									<td th:text="${order.areaName}"></td>
									<td align="right" class="th">手机</td>
									<td th:text="${order.detailAddress}"></td>
								</tr>
								<tr>
									<td align="right" class="th">车牌号</th>
									<td th:text="${order.carNum}"></td>
									<td align="right" class="th">型号</td>
									<td th:text="${order.carModel}"></td>
								</tr>
								<tr>
									<td align="right" class="th">颜色</th>
									<td th:text="${order.carColor}"></td>
									<td align="right" class="th">方便洗车时间</td>
									<td th:text="${order.washTime}"></td>
								</tr>
								<tr>
									<td align="right" class="th">是否支付</th>
									<td th:text="${order.extMap.whetherPay_dict}"></td>
									<td align="right" class="th">支付时间</td>
									<td th:text="${order.payTime}==null?'&nbsp;':${#dates.format(order.payTime,'yyyy-MM-dd HH:mm:ss')}"></td>
								</tr>
								<tr>
									<td align="right" class="th">会员到期时间</th>
									<td th:text="${order.expireTime}==null?'&nbsp;':${#dates.format(order.expireTime,'yyyy-MM-dd')}"></td>
									<td align="right" class="th">备注</td>
									<td th:text="${order.remark}"></td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>

		</div>
	</div>
	</div>
	</div>
	</div>
	<div th:include="include :: footer"></div>
</body>
</html>